#include "trap.h"
#include "inst_test.h"
    .set noat
    .globl main 
    .text

main:
    addi $at, $zero, 0x1e    
    addi $v0, $zero, 0x12     

BEFORE:
    bne $at, $v0, TARGET    # when $1 != $2,to TARGET
    addi $t1, $t1, 0x1      # 计数器t1自增1 
    jal BEFORE

TARGET:
    HIT_GOOD_TRAP   